module.exports = {
  devServer: {
    open: true // 自动打开浏览器
  },
  transpileDependencies: true,
  css: {
    loaderOptions: {
      postcss: {
        postcssOptions: {
          plugins: [
            require('postcss-pxtorem')({
              rootValue: 37.5, //根据设计图来配置
              propList: ['*'],
              selectorBlackList: ['van', 'vant'] // 排除vant组件选择器
            })
  
          ]
        },
      }
    },
  },
  publicPath: '/',
}